﻿using System;

namespace WhileLoopCheatSheet
{
    class Program
    {
        static void Main(string[] args)
        {
            /* While loop for n steps */
            int index = 1;
            int n = 5;

            while (index <= n)
            {
                // your loop step
                index = index + 1;
            }
        }
    }
}
